﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="AccessorialQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class AccessorialQueryEntity : BaseQuery
    {
        [OptionalField]
        private string AccessorialIDField;
        [OptionalField]
        private string BillingServiceIDField;
        [OptionalField]
        private string ChargeInvocationField;
        [OptionalField]
        private string ChargePerUnitField;
        [OptionalField]
        private string ChargeUnitField;
        [OptionalField]
        private string CostInvocationField;
        [OptionalField]
        private string CostPerUnitField;
        [OptionalField]
        private string CostRateIDField;
        [OptionalField]
        private string CostUnitField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DescrField;
        [OptionalField]
        private string GeneralLedgerIDField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string OwnerIDField;
        [OptionalField]
        private string RateIDField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string TaxGroupIDField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WhIDField;

        [DataMember]
        public string AccessorialID
        {
            get
            {
                return this.AccessorialIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AccessorialIDField, value))
                {
                    this.AccessorialIDField = value;
                    base.RaisePropertyChanged("AccessorialID");
                }
            }
        }

        [DataMember]
        public string BillingServiceID
        {
            get
            {
                return this.BillingServiceIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BillingServiceIDField, value))
                {
                    this.BillingServiceIDField = value;
                    base.RaisePropertyChanged("BillingServiceID");
                }
            }
        }

        [DataMember]
        public string ChargeInvocation
        {
            get
            {
                return this.ChargeInvocationField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ChargeInvocationField, value))
                {
                    this.ChargeInvocationField = value;
                    base.RaisePropertyChanged("ChargeInvocation");
                }
            }
        }

        [DataMember]
        public string ChargePerUnit
        {
            get
            {
                return this.ChargePerUnitField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ChargePerUnitField, value))
                {
                    this.ChargePerUnitField = value;
                    base.RaisePropertyChanged("ChargePerUnit");
                }
            }
        }

        [DataMember]
        public string ChargeUnit
        {
            get
            {
                return this.ChargeUnitField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ChargeUnitField, value))
                {
                    this.ChargeUnitField = value;
                    base.RaisePropertyChanged("ChargeUnit");
                }
            }
        }

        [DataMember]
        public string CostInvocation
        {
            get
            {
                return this.CostInvocationField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CostInvocationField, value))
                {
                    this.CostInvocationField = value;
                    base.RaisePropertyChanged("CostInvocation");
                }
            }
        }

        [DataMember]
        public string CostPerUnit
        {
            get
            {
                return this.CostPerUnitField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CostPerUnitField, value))
                {
                    this.CostPerUnitField = value;
                    base.RaisePropertyChanged("CostPerUnit");
                }
            }
        }

        [DataMember]
        public string CostRateID
        {
            get
            {
                return this.CostRateIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CostRateIDField, value))
                {
                    this.CostRateIDField = value;
                    base.RaisePropertyChanged("CostRateID");
                }
            }
        }

        [DataMember]
        public string CostUnit
        {
            get
            {
                return this.CostUnitField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CostUnitField, value))
                {
                    this.CostUnitField = value;
                    base.RaisePropertyChanged("CostUnit");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string Descr
        {
            get
            {
                return this.DescrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescrField, value))
                {
                    this.DescrField = value;
                    base.RaisePropertyChanged("Descr");
                }
            }
        }

        [DataMember]
        public string GeneralLedgerID
        {
            get
            {
                return this.GeneralLedgerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.GeneralLedgerIDField, value))
                {
                    this.GeneralLedgerIDField = value;
                    base.RaisePropertyChanged("GeneralLedgerID");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    base.RaisePropertyChanged("OwnerID");
                }
            }
        }

        [DataMember]
        public string RateID
        {
            get
            {
                return this.RateIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RateIDField, value))
                {
                    this.RateIDField = value;
                    base.RaisePropertyChanged("RateID");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string TaxGroupID
        {
            get
            {
                return this.TaxGroupIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TaxGroupIDField, value))
                {
                    this.TaxGroupIDField = value;
                    base.RaisePropertyChanged("TaxGroupID");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

